<!DOCTYPE HTML>
<html lang="zh-CN">


<head><meta name="generator" content="Hexo 3.8.0">
    <meta charset="utf-8">
    <meta name="keywords" content="分类: Runtime源码解读, Swift, iOS, Python">
    <meta name="description" content="分类: Runtime源码解读 | waitwalker">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
    <meta name="renderer" content="webkit|ie-stand|ie-comp">
    <meta name="mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
    <title>分类: Runtime源码解读 | waitwalker</title>
    <link rel="icon" type="image/png" href="/favicon.png">

    <link rel="stylesheet" type="text/css" href="/libs/awesome/css/font-awesome.min.css">
    <link rel="stylesheet" type="text/css" href="/libs/materialize/materialize.min.css">
    <link rel="stylesheet" type="text/css" href="/libs/aos/aos.css">
    <link rel="stylesheet" type="text/css" href="/libs/animate/animate.min.css">
    <link rel="stylesheet" type="text/css" href="/libs/lightGallery/css/lightgallery.min.css">
    <link rel="stylesheet" type="text/css" href="/css/matery.css">
    <link rel="stylesheet" type="text/css" href="/css/my.css">
    <style type="text/css">
        
    </style>

    <script src="/libs/jquery/jquery-2.2.0.min.js"></script>
<link rel="stylesheet" href="/css/prism-tomorrow.css" type="text/css"></head>


<body>

<!--导航-->

<header class="navbar-fixed">
    <nav id="headNav" class="bg-color nav-transparent">
        <div id="navContainer" class="nav-wrapper container">
            <div class="brand-logo">
                <a href="/" class="waves-effect waves-light">
                    <!---->
                    <!--<img src="/medias/logo.png" class="logo-img" alt="LOGO">-->
                    <!---->
                    <span class="logo-span">waitwalker</span>
                </a>
            </div>
            

<a href="#" data-target="mobile-nav" class="sidenav-trigger button-collapse"><i class="fa fa-navicon"></i></a>
<ul class="right">
    
    <li class="hide-on-med-and-down">
        <a href="/" class="waves-effect waves-light">
            
            <i class="fa fa-home"></i>
            
            <span>首页</span>
        </a>
    </li>
    
    <li class="hide-on-med-and-down">
        <a href="/tags" class="waves-effect waves-light">
            
            <i class="fa fa-tags"></i>
            
            <span>标签</span>
        </a>
    </li>
    
    <li class="hide-on-med-and-down">
        <a href="/categories" class="waves-effect waves-light">
            
            <i class="fa fa-bookmark"></i>
            
            <span>分类</span>
        </a>
    </li>
    
    <li class="hide-on-med-and-down">
        <a href="/archives" class="waves-effect waves-light">
            
            <i class="fa fa-archive"></i>
            
            <span>归档</span>
        </a>
    </li>
    
    <li class="hide-on-med-and-down">
        <a href="/about" class="waves-effect waves-light">
            
            <i class="fa fa-user-circle-o"></i>
            
            <span>关于</span>
        </a>
    </li>
    
    <li class="hide-on-med-and-down">
        <a href="/friends" class="waves-effect waves-light">
            
            <i class="fa fa-address-book"></i>
            
            <span>友情链接</span>
        </a>
    </li>
    
    <li>
        <a href="#searchModal" class="modal-trigger waves-effect waves-light">
            <i id="searchIcon" class="fa fa-search" title="搜索"></i>
        </a>
    </li>
</ul>

<div id="mobile-nav" class="side-nav sidenav">

    <div class="mobile-head bg-color">
        
        <img src="/medias/logo.png" class="logo-img circle responsive-img">
        
        <div class="logo-name">waitwalker</div>
        <div class="logo-desc">
            
            Life is measured by thought and action not by time.
            
        </div>
    </div>

    

    <ul class="menu-list mobile-menu-list">
        
        <li>
            <a href="/" class="waves-effect waves-light">
                
                <i class="fa fa-fw fa-home"></i>
                
                首页
            </a>
        </li>
        
        <li>
            <a href="/tags" class="waves-effect waves-light">
                
                <i class="fa fa-fw fa-tags"></i>
                
                标签
            </a>
        </li>
        
        <li>
            <a href="/categories" class="waves-effect waves-light">
                
                <i class="fa fa-fw fa-bookmark"></i>
                
                分类
            </a>
        </li>
        
        <li>
            <a href="/archives" class="waves-effect waves-light">
                
                <i class="fa fa-fw fa-archive"></i>
                
                归档
            </a>
        </li>
        
        <li>
            <a href="/about" class="waves-effect waves-light">
                
                <i class="fa fa-fw fa-user-circle-o"></i>
                
                关于
            </a>
        </li>
        
        <li>
            <a href="/friends" class="waves-effect waves-light">
                
                <i class="fa fa-fw fa-address-book"></i>
                
                友情链接
            </a>
        </li>
        
        
        <li><div class="divider"></div></li>
        <li>
            <a href="https://github.com/waitwalker" class="waves-effect waves-light" target="_blank">
                <i class="fa fa-github-square fa-fw"></i>Fork Me
            </a>
        </li>
        
    </ul>
</div>

        </div>

        
            <style>
    .nav-transparent .github-corner {
        display: none !important;
    }

    .github-corner {
        position: absolute;
        z-index: 10;
        top: 0;
        right: 0;
        border: 0;
        transform: scale(1.1);
    }

    .github-corner svg {
        color: #0f9d58;
        fill: #fff;
        height: 64px;
        width: 64px;
    }

    .github-corner:hover .octo-arm {
        animation: a 0.56s ease-in-out;
    }

    .github-corner .octo-arm {
        animation: none;
    }

    @keyframes a {
        0%,
        to {
            transform: rotate(0);
        }
        20%,
        60% {
            transform: rotate(-25deg);
        }
        40%,
        80% {
            transform: rotate(10deg);
        }
    }
</style>

<a href="https://github.com/waitwalker" class="github-corner tooltipped hide-on-med-and-down" target="_blank" data-tooltip="https://github.com/waitwalker" data-position="left" data-delay="50">
    <svg viewbox="0 0 250 250" aria-hidden="true">
        <path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"/>
        <path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"/>
        <path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"/>
    </svg>
</a>
        
    </nav>

</header>

<div class="bg-cover pd-header about-cover">
    <div class="container">
    <div class="row">
    <div class="col s10 offset-s1 m8 offset-m2 l8 offset-l2">
        <div class="brand">
            <div class="title center-align">
                
                    Keep Moving
                
            </div>

            <div class="description center-align">
                
                    Life is measured by thought and action not by time.
                
            </div>
        </div>
    </div>
</div>
<script>
// 每天切换 banner 图.  Switch banner image every day.
$('.bg-cover').css('background-image', 'url(/medias/banner/' + new Date().getDay() + '.jpg)');
</script>
    </div>
</div>

<main class="content">

    

<div id="category-cloud" class="container chip-container">
    <div class="card">
        <div class="card-content">
            <div class="tag-title center-align">
                <i class="fa fa-bookmark"></i>&nbsp;&nbsp;文章分类
            </div>
            <div class="tag-chips">
                
                
                
                <a href="/categories/数据结构与算法/" title="数据结构与算法: 8">
                    <span class="chip center-align waves-effect waves-light
                             chip-default " style="background-color: #F9EBEA;">数据结构与算法
                        <span class="tag-length">8</span>
                    </span>
                </a>
                
                
                <a href="/categories/隐私政策/" title="隐私政策: 3">
                    <span class="chip center-align waves-effect waves-light
                             chip-default " style="background-color: #F5EEF8;">隐私政策
                        <span class="tag-length">3</span>
                    </span>
                </a>
                
                
                <a href="/categories/Runtime源码解读/" title="Runtime源码解读: 10">
                    <span class="chip center-align waves-effect waves-light
                             chip-active " style="background-color: #D5F5E3;">Runtime源码解读
                        <span class="tag-length">10</span>
                    </span>
                </a>
                
                
                <a href="/categories/Flutter开发/" title="Flutter开发: 15">
                    <span class="chip center-align waves-effect waves-light
                             chip-default " style="background-color: #E8F8F5;">Flutter开发
                        <span class="tag-length">15</span>
                    </span>
                </a>
                
                
                <a href="/categories/Swift开发/" title="Swift开发: 4">
                    <span class="chip center-align waves-effect waves-light
                             chip-default " style="background-color: #FEF9E7;">Swift开发
                        <span class="tag-length">4</span>
                    </span>
                </a>
                
                
                <a href="/categories/WWDC/" title="WWDC: 2">
                    <span class="chip center-align waves-effect waves-light
                             chip-default " style="background-color: #F8F9F9;">WWDC
                        <span class="tag-length">2</span>
                    </span>
                </a>
                
                
                <a href="/categories/iOS开发/" title="iOS开发: 4">
                    <span class="chip center-align waves-effect waves-light
                             chip-default " style="background-color: #82E0AA;">iOS开发
                        <span class="tag-length">4</span>
                    </span>
                </a>
                
                
                <a href="/categories/群组/" title="群组: 1">
                    <span class="chip center-align waves-effect waves-light
                             chip-default " style="background-color: #D7BDE2;">群组
                        <span class="tag-length">1</span>
                    </span>
                </a>
                
                
                <a href="/categories/开源项目/" title="开源项目: 1">
                    <span class="chip center-align waves-effect waves-light
                             chip-default " style="background-color: #A3E4D7;">开源项目
                        <span class="tag-length">1</span>
                    </span>
                </a>
                
                
                <a href="/categories/App/" title="App: 1">
                    <span class="chip center-align waves-effect waves-light
                             chip-default " style="background-color: #85C1E9;">App
                        <span class="tag-length">1</span>
                    </span>
                </a>
                
                
                <a href="/categories/读书/" title="读书: 1">
                    <span class="chip center-align waves-effect waves-light
                             chip-default " style="background-color: #F8C471;">读书
                        <span class="tag-length">1</span>
                    </span>
                </a>
                
                
            </div>
        </div>
    </div>
</div>

    

    <article id="articles" class="container articles">
        <div class="row tags-posts">
            
            <div class="article tag-post col s12 m6 l4 overflow-policy" data-aos="zoom-in">
                <div class="card">
                    <a href="/2019/04/25/msgSend-解读/">
                        <div class="card-image tag-image">
                            
                            
                            <img src="/medias/featureimages/2.jpg" class="responsive-img" alt="msgSend()解读">
                            
                            <span class="card-title">msgSend()解读</span>
                        </div>
                    </a>
                    <div class="card-content article-content">
                        <div class="summary block-with-text">
                            
                                群组欢迎加入群组,闲聊工作&amp;技术&amp;问题等

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;runtime最重要的两个核心问题:类的组装和消息.之前文章已经对Method,SE
                            
                        </div>
                        <div class="publish-info">
                            <span class="publish-date">
                                <i class="fa fa-clock-o fa-fw icon-date"></i>2019-04-25
                            </span>
                            <span class="publish-author">
                                
                                <i class="fa fa-bookmark fa-fw icon-category"></i>
                                
                                <a href="/categories/Runtime源码解读/" class="post-category" target="_blank">
                                    Runtime源码解读
                                </a>
                                
                                
                            </span>
                        </div>
                    </div>

                    
                    <div class="card-action article-tags">
                        
                        <a href="/tags/Runtime/" target="_blank">
                            <span class="chip bg-color">Runtime</span>
                        </a>
                        
                        <a href="/tags/底层/" target="_blank">
                            <span class="chip bg-color">底层</span>
                        </a>
                        
                        <a href="/tags/源码/" target="_blank">
                            <span class="chip bg-color">源码</span>
                        </a>
                        
                    </div>
                    
                </div>
            </div>
            
            <div class="article tag-post col s12 m6 l4 overflow-policy" data-aos="zoom-in">
                <div class="card">
                    <a href="/2019/04/24/Weak解读/">
                        <div class="card-image tag-image">
                            
                            
                            <img src="/medias/featureimages/16.jpg" class="responsive-img" alt="Weak解读">
                            
                            <span class="card-title">Weak解读</span>
                        </div>
                    </a>
                    <div class="card-content article-content">
                        <div class="summary block-with-text">
                            
                                群组欢迎加入群组,闲聊工作&amp;技术&amp;问题等

在常规开发中我们经常使用__weak修饰符来修饰一个对象,来解决比如循环引用问题.今天具体来看看weak底层实现原理.
首先创建一个weak修饰的对象,并查看其调用栈:

int 
                            
                        </div>
                        <div class="publish-info">
                            <span class="publish-date">
                                <i class="fa fa-clock-o fa-fw icon-date"></i>2019-04-24
                            </span>
                            <span class="publish-author">
                                
                                <i class="fa fa-bookmark fa-fw icon-category"></i>
                                
                                <a href="/categories/Runtime源码解读/" class="post-category" target="_blank">
                                    Runtime源码解读
                                </a>
                                
                                
                            </span>
                        </div>
                    </div>

                    
                    <div class="card-action article-tags">
                        
                        <a href="/tags/Runtime/" target="_blank">
                            <span class="chip bg-color">Runtime</span>
                        </a>
                        
                        <a href="/tags/iOS/" target="_blank">
                            <span class="chip bg-color">iOS</span>
                        </a>
                        
                        <a href="/tags/source-code/" target="_blank">
                            <span class="chip bg-color">source code</span>
                        </a>
                        
                    </div>
                    
                </div>
            </div>
            
            <div class="article tag-post col s12 m6 l4 overflow-policy" data-aos="zoom-in">
                <div class="card">
                    <a href="/2019/04/23/Autorelease解读/">
                        <div class="card-image tag-image">
                            
                            
                            <img src="/medias/featureimages/8.jpg" class="responsive-img" alt="Autorelease解读">
                            
                            <span class="card-title">Autorelease解读</span>
                        </div>
                    </a>
                    <div class="card-content article-content">
                        <div class="summary block-with-text">
                            
                                群组欢迎加入群组,闲聊工作&amp;技术&amp;问题等

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Autorelease翻译过来就是自动释放,什么是自动释放,怎么自动释放,什么时候自
                            
                        </div>
                        <div class="publish-info">
                            <span class="publish-date">
                                <i class="fa fa-clock-o fa-fw icon-date"></i>2019-04-23
                            </span>
                            <span class="publish-author">
                                
                                <i class="fa fa-bookmark fa-fw icon-category"></i>
                                
                                <a href="/categories/Runtime源码解读/" class="post-category" target="_blank">
                                    Runtime源码解读
                                </a>
                                
                                
                            </span>
                        </div>
                    </div>

                    
                    <div class="card-action article-tags">
                        
                        <a href="/tags/Runtime/" target="_blank">
                            <span class="chip bg-color">Runtime</span>
                        </a>
                        
                        <a href="/tags/底层/" target="_blank">
                            <span class="chip bg-color">底层</span>
                        </a>
                        
                        <a href="/tags/源码/" target="_blank">
                            <span class="chip bg-color">源码</span>
                        </a>
                        
                    </div>
                    
                </div>
            </div>
            
            <div class="article tag-post col s12 m6 l4 overflow-policy" data-aos="zoom-in">
                <div class="card">
                    <a href="/2019/04/22/Retain-Release解读/">
                        <div class="card-image tag-image">
                            
                            
                            <img src="/medias/featureimages/6.jpg" class="responsive-img" alt="Retain&Release解读">
                            
                            <span class="card-title">Retain&Release解读</span>
                        </div>
                    </a>
                    <div class="card-content article-content">
                        <div class="summary block-with-text">
                            
                                群组欢迎加入群组,闲聊工作&amp;技术&amp;问题等

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;iOS通过引用计数(Reference Counting)机制来管理内存,当一个对象
                            
                        </div>
                        <div class="publish-info">
                            <span class="publish-date">
                                <i class="fa fa-clock-o fa-fw icon-date"></i>2019-04-22
                            </span>
                            <span class="publish-author">
                                
                                <i class="fa fa-bookmark fa-fw icon-category"></i>
                                
                                <a href="/categories/Runtime源码解读/" class="post-category" target="_blank">
                                    Runtime源码解读
                                </a>
                                
                                
                            </span>
                        </div>
                    </div>

                    
                    <div class="card-action article-tags">
                        
                        <a href="/tags/Runtime/" target="_blank">
                            <span class="chip bg-color">Runtime</span>
                        </a>
                        
                        <a href="/tags/底层/" target="_blank">
                            <span class="chip bg-color">底层</span>
                        </a>
                        
                        <a href="/tags/源码/" target="_blank">
                            <span class="chip bg-color">源码</span>
                        </a>
                        
                    </div>
                    
                </div>
            </div>
            
            <div class="article tag-post col s12 m6 l4 overflow-policy" data-aos="zoom-in">
                <div class="card">
                    <a href="/2019/04/18/Block解读/">
                        <div class="card-image tag-image">
                            
                            
                            <img src="/medias/featureimages/13.jpg" class="responsive-img" alt="Block解读">
                            
                            <span class="card-title">Block解读</span>
                        </div>
                    </a>
                    <div class="card-content article-content">
                        <div class="summary block-with-text">
                            
                                群组欢迎加入群组,闲聊工作&amp;技术&amp;问题等

Block定义&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;看过&lt;&lt;Objective-C高级编程iOS与OS X多线
                            
                        </div>
                        <div class="publish-info">
                            <span class="publish-date">
                                <i class="fa fa-clock-o fa-fw icon-date"></i>2019-04-18
                            </span>
                            <span class="publish-author">
                                
                                <i class="fa fa-bookmark fa-fw icon-category"></i>
                                
                                <a href="/categories/Runtime源码解读/" class="post-category" target="_blank">
                                    Runtime源码解读
                                </a>
                                
                                
                            </span>
                        </div>
                    </div>

                    
                    <div class="card-action article-tags">
                        
                        <a href="/tags/Runtime/" target="_blank">
                            <span class="chip bg-color">Runtime</span>
                        </a>
                        
                        <a href="/tags/底层/" target="_blank">
                            <span class="chip bg-color">底层</span>
                        </a>
                        
                        <a href="/tags/源码/" target="_blank">
                            <span class="chip bg-color">源码</span>
                        </a>
                        
                    </div>
                    
                </div>
            </div>
            
            <div class="article tag-post col s12 m6 l4 overflow-policy" data-aos="zoom-in">
                <div class="card">
                    <a href="/2019/04/15/Ivar-objc-property-t-Protocol解读/">
                        <div class="card-image tag-image">
                            
                            
                            <img src="/medias/featureimages/5.jpg" class="responsive-img" alt="Ivar objc_property_t Protocol解读">
                            
                            <span class="card-title">Ivar objc_property_t Protocol解读</span>
                        </div>
                    </a>
                    <div class="card-content article-content">
                        <div class="summary block-with-text">
                            
                                群组欢迎加入群组,闲聊工作&amp;技术&amp;问题等

Ivar声明在objc-private.h文件中我们可以看到Ivar的声明结构:
typedef struct ivar_t *Ivar;
在objc-runtime-new.h中
                            
                        </div>
                        <div class="publish-info">
                            <span class="publish-date">
                                <i class="fa fa-clock-o fa-fw icon-date"></i>2019-04-15
                            </span>
                            <span class="publish-author">
                                
                                <i class="fa fa-bookmark fa-fw icon-category"></i>
                                
                                <a href="/categories/Runtime源码解读/" class="post-category" target="_blank">
                                    Runtime源码解读
                                </a>
                                
                                
                            </span>
                        </div>
                    </div>

                    
                    <div class="card-action article-tags">
                        
                        <a href="/tags/Runtime/" target="_blank">
                            <span class="chip bg-color">Runtime</span>
                        </a>
                        
                        <a href="/tags/底层/" target="_blank">
                            <span class="chip bg-color">底层</span>
                        </a>
                        
                        <a href="/tags/源码/" target="_blank">
                            <span class="chip bg-color">源码</span>
                        </a>
                        
                    </div>
                    
                </div>
            </div>
            
            <div class="article tag-post col s12 m6 l4 overflow-policy" data-aos="zoom-in">
                <div class="card">
                    <a href="/2019/04/15/Class解读/">
                        <div class="card-image tag-image">
                            
                            
                            <img src="/medias/featureimages/16.jpg" class="responsive-img" alt="Class解读">
                            
                            <span class="card-title">Class解读</span>
                        </div>
                    </a>
                    <div class="card-content article-content">
                        <div class="summary block-with-text">
                            
                                群组欢迎加入群组,闲聊工作&amp;技术&amp;问题等

类的声明首先我们在runtime.h文件中看到objc_class的结构声明:

/// 类的声明结构

struct objc_class {

Class _Nonnull i
                            
                        </div>
                        <div class="publish-info">
                            <span class="publish-date">
                                <i class="fa fa-clock-o fa-fw icon-date"></i>2019-04-15
                            </span>
                            <span class="publish-author">
                                
                                <i class="fa fa-bookmark fa-fw icon-category"></i>
                                
                                <a href="/categories/Runtime源码解读/" class="post-category" target="_blank">
                                    Runtime源码解读
                                </a>
                                
                                
                            </span>
                        </div>
                    </div>

                    
                    <div class="card-action article-tags">
                        
                        <a href="/tags/Runtime/" target="_blank">
                            <span class="chip bg-color">Runtime</span>
                        </a>
                        
                        <a href="/tags/底层/" target="_blank">
                            <span class="chip bg-color">底层</span>
                        </a>
                        
                        <a href="/tags/源码/" target="_blank">
                            <span class="chip bg-color">源码</span>
                        </a>
                        
                    </div>
                    
                </div>
            </div>
            
            <div class="article tag-post col s12 m6 l4 overflow-policy" data-aos="zoom-in">
                <div class="card">
                    <a href="/2019/04/12/Method解读/">
                        <div class="card-image tag-image">
                            
                            
                            <img src="/medias/featureimages/7.jpg" class="responsive-img" alt="Method解读">
                            
                            <span class="card-title">Method解读</span>
                        </div>
                    </a>
                    <div class="card-content article-content">
                        <div class="summary block-with-text">
                            
                                群组欢迎加入群组,闲聊工作&amp;技术&amp;问题等

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;我们知道iOS程序的入口函数在main.其实mian只是苹果给我们的”直观能够感受”
                            
                        </div>
                        <div class="publish-info">
                            <span class="publish-date">
                                <i class="fa fa-clock-o fa-fw icon-date"></i>2019-04-12
                            </span>
                            <span class="publish-author">
                                
                                <i class="fa fa-bookmark fa-fw icon-category"></i>
                                
                                <a href="/categories/Runtime源码解读/" class="post-category" target="_blank">
                                    Runtime源码解读
                                </a>
                                
                                
                            </span>
                        </div>
                    </div>

                    
                    <div class="card-action article-tags">
                        
                        <a href="/tags/Runtime/" target="_blank">
                            <span class="chip bg-color">Runtime</span>
                        </a>
                        
                        <a href="/tags/底层/" target="_blank">
                            <span class="chip bg-color">底层</span>
                        </a>
                        
                        <a href="/tags/源码/" target="_blank">
                            <span class="chip bg-color">源码</span>
                        </a>
                        
                    </div>
                    
                </div>
            </div>
            
            <div class="article tag-post col s12 m6 l4 overflow-policy" data-aos="zoom-in">
                <div class="card">
                    <a href="/2019/04/10/objc-object解读/">
                        <div class="card-image tag-image">
                            
                            
                            <img src="/medias/featureimages/14.jpg" class="responsive-img" alt="objc_object解读">
                            
                            <span class="card-title">objc_object解读</span>
                        </div>
                    </a>
                    <div class="card-content article-content">
                        <div class="summary block-with-text">
                            
                                群组欢迎加入群组,闲聊工作&amp;技术&amp;问题等

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Objective-C是面向对象的语言.面向对象语言有一句话说:”万物皆对象”,这个
                            
                        </div>
                        <div class="publish-info">
                            <span class="publish-date">
                                <i class="fa fa-clock-o fa-fw icon-date"></i>2019-04-10
                            </span>
                            <span class="publish-author">
                                
                                <i class="fa fa-bookmark fa-fw icon-category"></i>
                                
                                <a href="/categories/Runtime源码解读/" class="post-category" target="_blank">
                                    Runtime源码解读
                                </a>
                                
                                
                            </span>
                        </div>
                    </div>

                    
                    <div class="card-action article-tags">
                        
                        <a href="/tags/Runtime/" target="_blank">
                            <span class="chip bg-color">Runtime</span>
                        </a>
                        
                        <a href="/tags/底层/" target="_blank">
                            <span class="chip bg-color">底层</span>
                        </a>
                        
                        <a href="/tags/源码/" target="_blank">
                            <span class="chip bg-color">源码</span>
                        </a>
                        
                    </div>
                    
                </div>
            </div>
            
            <div class="article tag-post col s12 m6 l4 overflow-policy" data-aos="zoom-in">
                <div class="card">
                    <a href="/2019/04/08/Runtime源码编译/">
                        <div class="card-image tag-image">
                            
                            
                            <img src="/medias/featureimages/20.jpg" class="responsive-img" alt="Runtime源码编译">
                            
                            <span class="card-title">Runtime源码编译</span>
                        </div>
                    </a>
                    <div class="card-content article-content">
                        <div class="summary block-with-text">
                            
                                群组欢迎加入群组,闲聊工作&amp;技术&amp;问题等

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Objective-C是基于c语言的封装,使C语言具有了面向对象的能力.OC的本质最
                            
                        </div>
                        <div class="publish-info">
                            <span class="publish-date">
                                <i class="fa fa-clock-o fa-fw icon-date"></i>2019-04-08
                            </span>
                            <span class="publish-author">
                                
                                <i class="fa fa-bookmark fa-fw icon-category"></i>
                                
                                <a href="/categories/Runtime源码解读/" class="post-category" target="_blank">
                                    Runtime源码解读
                                </a>
                                
                                
                            </span>
                        </div>
                    </div>

                    
                    <div class="card-action article-tags">
                        
                        <a href="/tags/Runtime/" target="_blank">
                            <span class="chip bg-color">Runtime</span>
                        </a>
                        
                        <a href="/tags/iOS/" target="_blank">
                            <span class="chip bg-color">iOS</span>
                        </a>
                        
                        <a href="/tags/source-code/" target="_blank">
                            <span class="chip bg-color">source code</span>
                        </a>
                        
                    </div>
                    
                </div>
            </div>
            
        </div>
    </article>
</main>


<footer class="page-footer bg-color">
    <div class="container row center-align">
        <div class="col s12 m8 l8 copy-right">
            本站在原作者&copy;<a href="https://blinkfox.github.io/" target="_blank">Blinkfox</a>基于
            <a href="https://hexo.io/" target="_blank">Hexo</a> 的
            <a href="https://github.com/blinkfox/hexo-theme-matery" target="_blank">hexo-theme-matery</a>主题基础上搭建.

            

            
			
                <br>
                
                <span id="busuanzi_container_site_pv">
                    <i class="fa fa-heart-o"></i>
                    本站总访问量 <span id="busuanzi_value_site_pv" class="white-color"></span>
                </span>
                
                
                <span id="busuanzi_container_site_uv">
                    <i class="fa fa-users"></i>
                    次,&nbsp;访客数 <span id="busuanzi_value_site_uv" class="white-color"></span> 人.
                </span>
                
            
        </div>
        <div class="col s12 m4 l4 social-link social-statis"><!---->
<a href="https://github.com/waitwalker" class="tooltipped" target="_blank" data-tooltip="访问我的GitHub" data-position="top" data-delay="50">
    <i class="fa fa-github"></i>
</a>

<a href="https://twitter.com/284485487" class="tooltipped" target="_blank" data-tooltip="Twitter联系我" data-position="top" data-delay="50">
    <i class="fa fa-twitter"></i>
</a>

<a href="https://www.facebook.com/profile.php?id=100003684945279" class="tooltipped" target="_blank" data-tooltip="Twitter联系我" data-position="top" data-delay="50">
    <i class="fa fa-facebook"></i>
</a>

<a href="https://t.me/joinchat/Ej0o0A1ntlq5ZFIMzzO5Pw" class="tooltipped" target="_blank" data-tooltip="Twitter联系我" data-position="top" data-delay="50">
    <i class="fa fa-telegram"></i>
</a>

<a href="https://www.weibo.com/1789419613/profile?topnav=1&wvr=6&is_all=1" class="tooltipped" target="_blank" data-tooltip="Twitter联系我" data-position="top" data-delay="50">
    <i class="fa fa-weibo"></i>
</a>


<!--原来-->
<!---->
    <!--<a href="mailto:waitwalker@163.com" class="tooltipped" target="_blank" data-tooltip="邮件联系我" data-position="top" data-delay="50">-->
        <!--<i class="fa fa-envelope-open"></i>-->
    <!--</a>-->
<!---->

<!---->
    <!--<a href="tencent://AddContact/?fromId=50&fromSubId=1&subcmd=all&uin=284485487" class="tooltipped" data-tooltip="QQ联系我: 284485487" data-position="top" data-delay="50">-->
        <!--<i class="fa fa-qq"></i>-->
    <!--</a>-->
<!---->

<!---->
    <!--<a href="/atom.xml" class="tooltipped" target="_blank" data-tooltip="RSS 订阅" data-position="top" data-delay="50">-->
        <!--<i class="fa fa-rss"></i>-->
    <!--</a>-->
<!----></div>
    </div>
</footer>

<div class="progress-bar"></div>


<!-- 搜索遮罩框 -->
<div id="searchModal" class="modal">
    <div class="modal-content">
        <div class="search-header">
            <span class="title"><i class="fa fa-search"></i>&nbsp;&nbsp;搜索</span>
            <input type="search" id="searchInput" name="s" placeholder="请输入搜索的关键字" class="search-input">
        </div>
        <div id="searchResult"></div>
    </div>
</div>

<script src="/js/search.js"></script>
<script type="text/javascript">
$(function () {
    searchFunc("/" + "search.xml", 'searchInput', 'searchResult');
});
</script>
<!-- 回到顶部按钮 -->
<div id="backTop" class="top-scroll">
    <a class="btn-floating btn-large waves-effect waves-light" href="#!">
        <i class="fa fa-angle-up"></i>
    </a>
</div>


<script src="/libs/materialize/materialize.min.js"></script>
<script src="/libs/masonry/masonry.pkgd.min.js"></script>
<script src="/libs/aos/aos.js"></script>
<script src="/libs/scrollprogress/scrollProgress.min.js"></script>
<script src="/libs/lightGallery/js/lightgallery-all.min.js"></script>
<script src="/js/matery.js"></script>

<!-- Global site tag (gtag.js) - Google Analytics -->




    <script async src="/libs/others/busuanzi.pure.mini.js"></script>


</body>
</html>